package com.leadingsoft.pwxk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.leadingsoft.pwxk.dto.WaterDrainDto;
import com.leadingsoft.pwxk.service.WaterDrainService;

/**
 * @author: lipan 2018年5月17日
 * @description: ( 水污染物排放信息-排放口信息 )
 * 
 */
@RestController
@RequestMapping("api/waterDr")
public class WaterDrainController {

	@Autowired
	private WaterDrainService waterDrainService;

	@GetMapping("/{dataid}")
	WaterDrainDto get(@PathVariable(value = "dataid") String dataid) {
		return waterDrainService.get(dataid);
	}

}
